﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AdicionarProduto.aspx.cs" Inherits="Livraria.AdicionarProduto" %>

<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.SqlClient" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Página de Cadastro</title>
</head>
<body>
    <form id="frmAdicionar" runat="server">
    <center>
        <h3>
            Página de Cadastro</h3>
        <asp:Panel ID="pan_cadastro" runat="server" BorderColor="#6699CC" 
            BorderStyle="Groove" Height="113px" Width="276px" BackColor="Silver"><br />
            <asp:Label ID="lbl_nome" runat="server">Nome:&nbsp;</asp:Label>
            <asp:TextBox ID="txt_nome" runat="server"></asp:TextBox><br />
            <asp:Label ID="lbl_categoria" runat="server">Categoria:&nbsp;</asp:Label>
            <asp:DropDownList ID="ddl_categoria" runat="server">
            <asp:ListItem Value="" Selected="True"></asp:ListItem>
            <asp:ListItem Value="Livro">Livro</asp:ListItem>
            <asp:ListItem Value="CD">CD</asp:ListItem>
            <asp:ListItem Value="DVD">DVD</asp:ListItem>
            </asp:DropDownList><br />
            <asp:Button ID="btn_ok" runat="server" Text="Adicionar" onclick="btn_ok_Click" />&nbsp;
            <asp:Button ID="btn_limpar" runat="server" Text="Limpar" onclick="btn_limpar_Click" />
        </asp:Panel>
    </center>
    </form>
</body>
</html>

